extends "../mingshi-3/mingshi-3.gd"


var baseId = ""
var upText1 = "后勤维修作用目标+1"
var upText2 = "后勤维修额外附带2层<活力>"
func _extInit():
	._extInit()
	lv = 4             #等级的设置
	addSkill("治疗血量低于50%的角色时，治疗量翻倍", "快速修理")

func healCha(cha, num, cri = false, rate = 1):
	if cha.att.hp/cha.att.maxHp <= 0.5:
		num *= 2
	.healCha(cha, num, cri, rate)

func upgrade():
	.upgrade()
	if upgraded == 1:
		p3 = 4